////////////////////////////////////////////////////////////////////////////////////////
// Stauffer Public Perceptions of Women's Inclusion and Feelings of Political Efficacy
// Replication Code - Appendix 12
///////////////////////////////////////////////////////////////////////////////////////

***********
// TABLE A14
***********

*set working directory 
use 161718_CCES.dta, clear 

reg r_estimate gender_r ideo7 i.party strong_partisan know_fed religiosity coll white c.age##c.age employed i.year 

estimates store multi1 

xtmixed r_estimate gender_r ideo7 i.party strong_partisan know_fed religiosity coll white c.age##c.age employed ///
woman_sen woman_rep state_rep i.year ||state:, cov(uns) 

estimates store multi2

reg accurate gender_r ideo7 i.party strong_partisan know_fed religiosity coll white c.age##c.age employed i.year 

estimates store multi3 

xtmixed accurate gender_r ideo7 i.party strong_partisan know_fed religiosity coll white c.age##c.age employed ///
woman_sen woman_rep state_rep i.year ||state:, cov(uns) 

estimates store multi4

*Generate Latex Code For Table
estout multi1 multi2 multi3 multi4, cells(b(star fmt(%9.3f)) se(par)) ///
style(tex) stats(N) nobaselevels interaction ("X") starlevels (* .1 ** .05 *** .01)

